package com.tc.infinitechat.authenticationservice.constants.user;

import com.tc.infinitechat.authenticationservice.exception.common.BaseExceptionInterface;
import lombok.AllArgsConstructor;
import lombok.Getter;

@Getter
@AllArgsConstructor
public enum UserErrorEnum implements BaseExceptionInterface {
    USER_NOT_FOUND("40001", "用户不存在"),
    USER_ALREADY_REGISTER("40002", "用户已经注册"),
    CHECK_CODE_NOT_RIGHT("40003", "验证码不正确"),
    PASSWORD_NOT_RIGHT("40004", "密码或手机号错误"),
    AVATAR_UPDATE_ERROR("40005", "头像更新错误")
    ;
    private String code;
    private String message;
}
